module.exports = class extends think.Logic {
  indexAction() {

  }
  postAction() {
    this.allowMethods = 'post'; //  只允许 POST 请求类型
    this.rules = {
      nickname: { string: true, trim: true, required: true }, // 管理员昵称
      password: { string: true, trim: true, required: true }, // 密码
    }
  }
};
